package com.example.dingtalkwebproject.service.impl;

import com.example.dingtalkwebproject.mapper.dingTalkMessageQueueMapper;
import com.example.dingtalkwebproject.pojo.dingTalkMessageQueue;
import com.example.dingtalkwebproject.service.dingTalkMessageQueueService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class dingTalkMessageQueueServicelmpl implements dingTalkMessageQueueService {

    @Autowired
    private dingTalkMessageQueueMapper dingTalkMessageQueueMapper;

    @Override
    public int sendDingTalkLlnkMessage(dingTalkMessageQueue dingTalkMessageQueue) {
        return dingTalkMessageQueueMapper.sendDingTalkLlnkMessage(dingTalkMessageQueue);
    }

    @Override
    public int sendDingTalkMarkdownMessage(dingTalkMessageQueue dingTalkMessageQueue) {
        return dingTalkMessageQueueMapper.sendDingTalkMarkdownMessage(dingTalkMessageQueue);
    }
}
